package org.fatewa.engine.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 *@author 4everlynn
 */
@Data
@ConfigurationProperties("rayquaza.response.mapper.code")
public class ResponseCodeMapper {
    /**
     * 请求成功的 code
     */
    private int success = 200;

    /**
     * 服务端错误
     */
    private int serverError = 500;

    /**
     * 客户端错误
     */
    private int clientError = 400;
}
